package o;

import android.content.res.ColorStateList;
import android.view.View;
import android.widget.CheckedTextView;
import java.lang.ref.WeakReference;

public class qe extends SkinAttr {

    static final class e extends fkz<SkinAttr, ColorStateList> {
        private WeakReference<CheckedTextView> ˎ;

        public /* synthetic */ void ॱ(Object obj) {
            ˋ((ColorStateList) obj);
        }

        private e(CheckedTextView checkedTextView) {
            this.ˎ = new WeakReference(checkedTextView);
        }

        public void ˋ(ColorStateList colorStateList) {
            CheckedTextView checkedTextView = (CheckedTextView) this.ˎ.get();
            if (checkedTextView != null) {
                checkedTextView.setCheckMarkTintList(colorStateList);
            }
        }
    }

    public qe() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof CheckedTextView) {
            CheckedTextView checkedTextView = (CheckedTextView) view;
            if ("color_state_list".equals(this.attrValueTypeName) || "color".equals(this.attrValueTypeName)) {
                this.ʽ = "color_state_list";
                fks.ˎ(view.getContext(), this, new e(checkedTextView)).ॱ(z);
            }
        }
    }
}
